import request from '@/utils/request'

export function pageCourseLsit(data) {
  return request({
    url: '/course/manage/school/pageCourseLsit',
    method: 'post',
    data
  })
}

export function treeCourseCataloglist(data) {
  return request({
    url: '/course/manage/treeCourseCataloglist',
    method: 'post',
    data
  })
}

export function selectCourseFileList(params) { // 课程资料查询
  return request({
    url: '/course/manage/selectCourseFileList',
    method: 'get',
    params
  })
}

export function deleteCourseFile(params) { // 课程资料删除
  return request({
    url: '/course/manage/deleteCourseFile',
    method: 'post',
    data: params
  })
}
